package net.hn.hnms.biz.safety.trinity.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author 智呈物联 nzw
 * @date 2022/8/4
 */
@Data
@Entity
@ApiModel("风险表")
@Table(name = "risk_control_list")
public class RiskControlList {

    @ApiModelProperty(value = "风险id")
    @TableId(value = "risk_id")
    @Id
    private String riskId;

    @Column(name = "mine_code")
    @ApiModelProperty(value = "煤矿编码")
    private String mineCode;

    @Column(name = "risk_major")
    @ApiModelProperty(value = "风险专业（码表）")
    private String riskMajor;

    @Column(name = "risk_identify_type")
    @ApiModelProperty(value = "辨识类型（码表）")
    private String riskIdentifyType;

    @Column(name = "risk_class")
    @ApiModelProperty(value = "风险类型（码表）")
    private String riskClass;

    @Column(name = "risk_location_id")
    @ApiModelProperty(value = "风险点位置ID")
    private String riskLocationId;

    @Column(name = "risk_level")
    @ApiModelProperty(value = "风险等级（码表）")
    private String riskLevel;

    @Column(name = "risk_description")
    @ApiModelProperty(value = "风险描述")
    private String riskDescription;

    @Column(name = "check_project")
    @ApiModelProperty(value = "检查项目")
    private String checkProject;

    @Column(name = "identify_object")
    @ApiModelProperty(value = "辨识对象")
    private String identifyObject;

    @Column(name = "grade_method")
    @ApiModelProperty(value = "评估方法")
    private String gradeMethod;

    @Column(name = "control_require")
    @ApiModelProperty(value = "管控要求")
    private String controlRequire;

    @Column(name = "data_time")
    @ApiModelProperty(value = "数据时间")
    private Date dataTime;

    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @Column(name = "risk_status")
    @ApiModelProperty(value = "0：待完善，1:已完善")
    private String riskStatus;
}
